#include <stdio.h>
#include <sys/ioctl.h>
#include <fcntl.h>
#include <stdlib.h>
#include "xiaomi.h"

void main(){

	int fd =0;
	int ret =0;	

    fd = open("/dev/xiaomi",O_RDWR);
	if (fd == -1)
       printf("OPEN ERROR \n");

	ret = ioctl(fd , led_on , 0);
	if(ret == -1)
		printf("ON Error \n");
}
